package com.sc.nft.entity.vo.salvageEvents;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class AdminsAlvageEventsDetailsVO {

    @ApiModelProperty(value = "活动名称")
    @NotBlank(message = "活动名称不能为空")
    private String eventsName;

    @ApiModelProperty(value = "活动开始时间")
    @NotBlank(message = "活动开始时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String beginTime;

    @ApiModelProperty(value = "活动结束时间")
    @NotBlank(message = "活动开始时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String endTime;

    @ApiModelProperty(value = "封面图")
    @NotBlank(message = "封面图不能为空")
    private String coverImage;

    @ApiModelProperty(value = "规则图片")
    @NotBlank(message = "规则图片不能为空")
    private String regularImage;

    @ApiModelProperty(value = "关联藏品")
    private List<AdminsAlvageEventsCollectionDetailsVO> collectionDetailsList;
}
